<template>
    <div class="wrap">
        <template v-if="type===0">
            <div class="content" v-html="content"></div>
        </template>
        <template v-if="type===1">
            <vod-player :video-id="content"></vod-player>
        </template>
    </div>

</template>

<script>
    import VodPlayer from './VodPlayer'

    export default {
        props: {content: String, type: {type: Number, default: 0}},
        components: {VodPlayer}
    }
</script>

<style lang="scss" scoped>
    .wrap {
        .content {
            line-height: 1.5;

        }

    }

</style>